minimum moves to equal array elements

join shbcf.ru